package org.linloong.config.monitor;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(name = "TokenVO", description = "Token响应实体（对应文档\"数据令牌请求\"章节Response）")
public class TokenVO {
    @Schema(description = "令牌字符串（文档中\"access_token\"字段）", example = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...")
    private String access_token;

    @Schema(description = "令牌有效期（秒，文档默认3600s）", example = "3600")
    private Integer expires_in;

    @Schema(description = "令牌类型（文档默认Bearer）", example = "Bearer")
    private String token_type;

    @Schema(description = "Token创建时间（毫秒，用于过期判断，自定义字段）", example = "1716000000000")
    private Long createTime;
}